package
{

	import flash.display.Sprite;
	import flash.events.Event;

	public class PackageXml extends Sprite
	{
		public function PackageXml()
		{
			if (stage)
			{
				init();
			} else
			{
				addEventListener(Event.ADDED_TO_STAGE, handlerStage);
			}
		}

		private function handlerStage(event:Event):void
		{
			removeEventListener(Event.ADDED_TO_STAGE, handlerStage);
			init();
		}

		private function init():void
		{
			var appContainer:AppContainer = new AppContainer();
			this.addChild(appContainer);
		}
	}
}
